package com.snjx.micro.oauth.auth.config;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
/**
 * @author by suonanjiexi
 * @version 1.0
 * @apiNote TODO
 * @date 2020/8/5 12:09 下午
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Component
@ConfigurationProperties(prefix = "oauth2server")
public class ClientDetailsServiceConfig {
    private List<String> grantType;
    private int accessToken;
    public  int refreshToken;

}